package com.ruoyi.crm.sale.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同审核对象 crm_contract_check
 * 
 * @author ruoyi
 * @date 2021-09-22
 */
public class CrmContractCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 合同 */
    private Long contractId;

    /** 是否审核通过 1：通过  2：拒绝 */
    @Excel(name = "是否审核通过 1：通过  2：拒绝")
    private Long checkStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String checkOpinion;

    /** 删除标记 */
    private String delFlag;

    /** 附件 */
    @Excel(name = "附件")
    private String annex;
    

    private String createByName;
    private String updateByName;

    public String getCreateByName() {
		return createByName;
	}

	public void setCreateByName(String createByName) {
		this.createByName = createByName;
	}

	public String getUpdateByName() {
		return updateByName;
	}

	public void setUpdateByName(String updateByName) {
		this.updateByName = updateByName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setCheckStatus(Long checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public Long getCheckStatus() 
    {
        return checkStatus;
    }
    public void setCheckOpinion(String checkOpinion) 
    {
        this.checkOpinion = checkOpinion;
    }

    public String getCheckOpinion() 
    {
        return checkOpinion;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setAnnex(String annex) 
    {
        this.annex = annex;
    }

    public String getAnnex() 
    {
        return annex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractId", getContractId())
            .append("checkStatus", getCheckStatus())
            .append("checkOpinion", getCheckOpinion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("annex", getAnnex())
            .toString();
    }
}
